<?php

class Form_Auth_Login extends Zend_Form{

    public function init() {
        
        $usuario = new Zend_Form_Element_Text('matricula');
        $usuario->setLabel('Matrícula')
                ->setRequired(true);

        $senha = new Zend_Form_Element_Password('senha');
        $senha->setLabel('Senha')
                ->setRequired(true);

        $submit = new Zend_Form_Element_Submit('entrar', 'Entrar');

        $this->addElements(array($usuario,$senha, $submit));
        
        $this->setAction("authenticate");
    }

}
